This repository has been archived by the owner on Jun 11, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #333. Closes #274.
Now you can delete your cracker and still proceed with the tutorial! 🎉
TODO:
Steppable.setup
(made it idempotent)StepRestartedEvent
Story.Step
meta when data has been regeneratedNotes
UnlikeSteppable.start
,Steppable.restart
seems generic (it does not change for each step) and as such can be abstracted into a single function, so I think there's no need to implement it on each Step declaration.Due to a tiny detail (checkpoint (email) metadata is defined on the restart method), this cannot be done. A refactor where we make the whole Step interface 100% declarative would solve this, but there's no time for that.
Incidental
Steppable.fail
toSteppable.restart
. Failure no longer exists 🙌.Steppable.setup/1
into two parts,Steppable.start/1
andSteppable.setup/1
. Now the setup only does the setup, and is reused atSteppable.restart
.Steppable.setup/1
must be idempotent, so existing code was updated.setup_once
macro to quickly enable idempotent object search/creation atSteppable.setup
FileDeletedEvent
. Proper handlers onFilesystemHandlers
are missing.StoryQuery.Setup
for standardized idempotency search duringSteppable.setup
story_emails
This change is